# 绘制标签分布
import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd

plt.rcParams['font.family'] = 'SimHei'
plt.rcParams['axes.unicode_minus'] = False

df = pd.read_csv('no_neg_DBSCAN_adasyn_g2.csv')

sns.histplot(df['Air Quality'], kde=True)
plt.title('标签分布')
plt.show()